package com.xuecheng.orders.service;

import com.xuecheng.messagesdk.model.po.MqMessage;
import com.xuecheng.orders.model.dto.AddOrderDto;
import com.xuecheng.orders.model.dto.PayRecordDto;
import com.xuecheng.orders.model.dto.PayStatusDto;
import com.xuecheng.orders.model.po.XcOrders;
import com.xuecheng.orders.model.po.XcPayRecord;

/**
 * @author 陈竞超
 * @version 1.0
 * @qq 2250537249
 */
public interface OrderService {
    public PayRecordDto createOrder(String userId, AddOrderDto addOrderDto);
    public XcPayRecord getPayRecordByPayno(String payNo);
    public PayRecordDto queryPayResult(String payNo);
    public void saveAliPayStatus(PayStatusDto payStatusDto);
    public void notifyPayResult(MqMessage message);
}
